/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package models;

import java.io.Serializable;

/**
 *
 * @author simone
 */
public class cittaDTO implements Serializable{

    private String cityName;
    private String countryName;
    private int idCity;

        
    public cittaDTO() {
    }
    
    public cittaDTO(String city,String country,int id)
    {
        this.cityName = city;
        this.countryName = country;
        this.idCity = id;
    }
    
    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getCountryName() {
        return countryName;
    }

    public void setCountryName(String countryName) {
        this.countryName = countryName;
    }

    public int getIdCity() {
        return idCity;
    }

    public void setIdCity(int idCity) {
        this.idCity = idCity;
    }
    
    public String infoCity() {

        String info;
        info = cityName+" - "+countryName;
        return info;
   
    }

    
}
